﻿using YNTK.Dependency;

namespace YNTK.FileRecord.Entitys
{
    /// <summary>
    /// 文件清单树结构数据传输模型
    /// </summary>
    [SuppressSniffer]
    public class FileListTreeDto
    {
        /// <summary>
        /// 类型(0.分类 1.工作项/事项)
        /// </summary>
        public int type {get;set;}

        /// <summary>
        /// id
        /// </summary>
        public string id { get; set; }

        /// <summary>
        /// 父级id
        /// </summary>
        public string parentId { get; set; }

        /// <summary>
        /// 分类id
        /// </summary>
        public string classifyId { get; set; }

        /// <summary>
        /// 分类名称
        /// </summary>
        public string classifyName { get; set; }

        /// <summary>
        /// 工作项/事项id
        /// </summary>
        public string workItemId { get; set; }

        /// <summary>
        /// 工作项/事项
        /// </summary>
        public string workItem { get; set; }

        /// <summary>
        /// 编号
        /// </summary>
        public string code { get; set; }

        /// <summary>
        /// 表单样服务器存储路径
        /// </summary>
        public string sampleFormFilePath { get; set; }

        /// <summary>
        /// 表单样文件名称
        /// </summary>
        public string sampleFormFileName { get; set; }

       /// <summary>
       /// 子级数据
       /// </summary>
        public List<FileListTreeDto> children { get; set; }
    }
}
